/**
 * 
 */
package com.gametime.model;

/**
 * @author dave
 *
 */
public class Position {
	
  public static int POINT_GUARD_SEQ=1;
  public static int COMBO_GUARD_SEQ=2 ;
  public static int BIG_GUARD_SEQ=3;
  public static int WING_SEQ=4;
  public static int SMALL_FORWARD_SEQ=5;
  public static int FORWARD_SEQ=6;
  public static int POWER_FORWARD_SEQ=7;
  public static int CENTER_FORWARD_SEQ=8;
  public static int CENTER_SEQ=9;
  
	private int positionId;
	private String description;
	private String shortDescr;
	/**
	 * @return the shortDescr
	 */
	public String getShortDescr() {
		return shortDescr;
	}
	/**
	 * @param shortDescr the shortDescr to set
	 */
	public void setShortDescr(String shortDescr) {
		this.shortDescr = shortDescr;
	}
	/**
	 * @return the positionId
	 */
	public int getPositionId() {
		return positionId;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	
	public static Position createPosition(int positionId, String description, String shortdescr)
	{
		Position p = new Position();
		p.positionId = positionId;
		p.description = description;
		p.shortDescr= shortdescr;
		return p;
	}
	
	public String toString()
	{
		return "<Position id='"+ this.positionId + "' descr='"+ this.description + "' short='"+ this.shortDescr+ "'>";
	}
	

}
